//
//  UIAlertController+WDExtention.h
//  CloudNestLock
//
//  Created by Vincent Yang on 2018/5/9.
//  Copyright © 2018年 HangZhou Huiyou Technology Co., Ltd. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIAlertController (WDExtention)

+ (UIAlertController *)wd_alterWithTitle:(NSString *)title
                                 message:(NSString *)message
                            okButtonName:(NSString *)okButtonName
                        cancalButtonName:(NSString *)cancalButtonName
                             placeholder:(NSString *)placeholder
                               sureBlock:(void(^)(NSString *content))sureBlock;

+ (UIAlertController *)wd_alterSheetWithTitle:(NSString *)title
                                      message:(NSString *)message
                                 okButtonName:(NSArray *)okButtonNameArray
                                    sureBlock:(void(^)(NSString *content))sureBlock;

+ (UIAlertController *)wd_alterControllerWithTitle:(NSString *)title
                                           content:(NSString *)content
                                      okButtonName:(NSString *)okButtonName
                                  cancalButtonName:(NSString *)cancalButtonName
                                         sureBlock:(void(^)(void))sureBlock;


+ (UIAlertController *)wd_alterWithTitle:(NSString *)title
                                 message:(NSString *)message
                            okButtonName:(NSString *)okButtonName
                        cancalButtonName:(NSString *)cancalButtonName
                             placeholder:(NSString *)placeholder
                               sureBlock:(void(^)(NSString *content))sureBlock
                               failBlock:(void(^)(void))failBlock;
@end
